package com.cykj.page04.test;

/**
 * @BelongsProject: HandTomcat
 * @BelongsPackage: com.cykj.page01.test
 * @Author: WWJ
 * @CreateTime: 2025-06-19 11:37
 * @Description: TODO
 * @Version: 1.0
 */
public class Student {
    private String name = "张三";
    private Integer age;
    public int status;
    public String address;


    private Student(String name) {
        this.name = name;
    }

    public Student(Integer age, String name) {
        this.age = age;
        this.name = name;
    }

    public Student() {
    }

    public void showName() {
        System.out.println("name");
    }

    public String showAge(int age) {
        System.out.println("age:" + age);
        return "不想努力了";
    }

    private void showStatus() {
        System.out.println("status");
    }
}
